﻿using System.IO.IsolatedStorage;

using Holdem.Core.Configuration;

using NUnit.Framework;

namespace Test.Holdem.Configuration
{
    [TestFixture]
    public class HoldemIsolatedStorageFileTest
    {
        public void HoldemIsolatedStorageFileConstructor()
        {
            //TODO: How do I test this????
            //IsolatedStorage cannot currently be tested outside of the emulator.
            var mockStorage = IsolatedStorageFile.GetUserStoreForApplication();

            Assert.DoesNotThrow(() => new HoldemIsolatedStorageFile(mockStorage));
        }
    }
}
